import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

//实例store对象
const store = new Vuex.Store({
	state: {
		ContentHeight: '', //可视区域的高度

	},
	mutations: { 
		//可是区域的高度
		setContentHeight(state, params) {
			state.ContentHeight = params;
		},
	}
})

//导出store对象
export default store
